<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="">
    {{ req.get_host }} <p></p>
    {{ req.get_port }} <p></p>
    {{ req.get_full_path }}
    <p></p>
    <div class="fieldWrapper">
        {{ form.title.errors }}
        <label for="{{ form.title.id_for_label }}">标题:</label>
        {{ form.title }}
        {{ form.title.help_text }}
    </div>

    <button type="submit">提交</button>
</form>

</body>
</html>